package com.appkubes.mall.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 
 * @author Rongjie
 */
@Data
@TableName("mall_event")
@KeySequence(value = "mall_event_SEQ")
@ApiModel(value = "MallEvent对象")
public class MallEvent implements Serializable{

       @TableId(value = "event_id", type = IdType.AUTO)
       private Integer eventId;

       @ApiModelProperty(value = "ORDER")
       private String eventSource;

       @ApiModelProperty(value = "CANCEL")
       private String eventType;

       @ApiModelProperty(value = "事件表(ims_sqtg_order)")
       private String eventEntity;

       @ApiModelProperty(value = "事件表Key")
       private String eventEntityKey;

       @ApiModelProperty(value = "{stauts:1}")
       private String enentEntitySegments;

       private Date eventTriggerTime;

       @ApiModelProperty(value = "版本号", example = "1")
       @Version
       private Integer version;

}
